arm: configure interrupts to be in non-secure group1
authorStefano Stabellini <sstabellini@kernel.org>
Wed, 18 Oct 2017 21:29:58 +0000 (14:29 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 19 Oct 2017 20:31:43 +0000 (13:31 -0700)
commit0c8055c2f45f489aff67f4d362f3fdc192cc2d94
tree768d2e6048d34adbb229819e664296b009048a17
parent5dd3907a2af37060a675dd3bc5a02b7b38dac66c
arm: configure interrupts to be in non-secure group1

Xen uses non-secure group1 interrupts, however it doesn't configure the
GICv3 accordingly. Xen needs to set GICD_IGROUPR for SPIs and
GICR_IGROUPR0 for local interrupt to "1" to specify that interrupts
belong to group1. This is particularly important if the system has
GICD_CTLR.DS set, also see commit
7c9b973061b03af62734f613f6abec46c0dd4a88 in Linux.

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
Released-acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/gic-v3.c